package com.intel.two.service.building;

import com.intel.two.bo.building.ResidentBo;
import com.intel.two.common.LayuiPageVo;
import com.intel.two.pojo.building.Resident;
import com.intel.two.vo.building.BarVo;

import java.util.List;
import java.util.Map;

public interface ResidentService {

    LayuiPageVo<Resident> residentPageData(Map<String, Object> params);

    int addResident(Resident resident);

    int deleteResident(Integer id);

    int updateResident(Resident resident);

    List<BarVo> BarData();

    List<ResidentBo> ResidentExcelData(Resident resident);

    int deleteResidents(Map<String, Object> map);

}
